gesture: Ensure late gestures handling the sequence get the group state
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 1 Jun 2014 19:44:55 +0000 (21:44 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 3 Jun 2014 13:59:03 +0000 (15:59 +0200)
commitc773859c997bd89dafa1a57d3ba9d819ae0d5ca5
treed4acbbef2cd93b04d426b363d4c20e3317ce79b0
parentf6cf7fee73a18892bf59e52dc440fa16abbea22d
gesture: Ensure late gestures handling the sequence get the group state

It might happen that a gesture claims a sequence before any other gesture
in its group even handled a single event from that sequence. In that case,
ensure the state is set accordingly right when the sequence is handled in
those.

The "group" gesture testcase has been updated to observe this behavior.
gtk/gtkgesture.c
testsuite/gtk/gestures.c